# -*- coding:utf-8 -*-
"""
Create by Jim on2019/01/09
"""
from info.api import api
from flask import render_template


@api.route('/')
def index():
    return render_template('index.html')


@api.route('/imagecode/', methods=['GET'])
def imagecode():
    return render_template('index.html')


@api.route('/smscode/', methods=['POST'])
def smscode():
    return render_template('index.html')


@api.route('/user/', methods=['GET', 'POST'])
def user():
    return render_template('index.html')


@api.route('/session/', methods=['POST', 'GET', 'DELETE'])
def session():
    return render_template('index.html')


@api.route('/user/name', methods=['POST'])
def user_name():
    return render_template('index.html')


@api.route('/user/avatar/', methods=['POST'])
def user_avatar():
    return render_template('index.html')


@api.route('/user/auth/', methods=['GET', 'POST'])
def imagecode():
    return render_template('index.html')


@api.route('/user/houses', methods=['GET'])
def user_houses():
    return render_template('index.html')


@api.route('/user/areas', methods=['GET'])
def user_houses():
    return render_template('index.html')


@api.route('/houses', methods=['GET', 'POST'])
def user_houses():
    return render_template('index.html')


@api.route('/houses/\/images', methods=['POST'])
def user_houses():
    return render_template('index.html')


@api.route('/houses/index', methods=['GET'])
def user_houses():
    return render_template('index.html')


@api.route('/houses/\\', methods=['GET'])
def user_houses():
    return render_template('index.html')


@api.route('/orders', methods=['GET', 'POST', 'PUT'])
def user_houses():
    return render_template('index.html')


@api.route('/orders/comment', methods=['PUT'])
def user_houses():
    return render_template('index.html')


@api.route('/houses/\\', methods=['GET'])
def user_houses():
    return render_template('index.html')


@api.route('/houses/\\', methods=['GET'])
def user_houses():
    return render_template('index.html')


@api.route('/houses/\\', methods=['GET'])
def user_houses():
    return render_template('index.html')
